package com.pubinfo.passbook.common.service.master;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pubinfo.passbook.common.entity.TRabbitmqPerson;
import com.pubinfo.passbook.common.entity.TRabbitmqPersonConvert;
import com.pubinfo.passbook.common.model.vo.manage.RolePermissionVo;

import java.util.List;

/**
 *
 */
public interface TRabbitmqPersonService extends IService<TRabbitmqPerson> {
  
  Boolean insertPersion(JSONObject json);
  
  List<TRabbitmqPerson> findDepartmentPersonByAcctId(String acctId);
  
  TRabbitmqPerson selectByAcctId(String accId);
  
  Boolean isShengGongSiPerson(String accId);
  
  Boolean isWenZhouPerson(String accId);
  
  boolean removePerson(Integer id);
  
  String findIdNoByAcct(String acct);
  
  List<RolePermissionVo> getPersonMenu(TRabbitmqPersonConvert current4AUserInfo);
}
